using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;

namespace WebService.Nafania.ViewLayer.Model.ObjectView
{
	[DataContract]
	public class ListTextView : Base.ObjectView
	{
		[DataMember] public List<TextView> Values { get; set; }

		public override string ToString()
		{
			StringBuilder sb = new StringBuilder(base.ToString());
			foreach (var textView in Values)
			{
				sb.AppendFormat("TextView: {0}\r\n", textView.Value);
			}
			return sb.ToString();
		}
	}
}